import request from '@/utils/request';

export async function getInfoByPage (params: any) {
    return request('/api/project/getInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addInfo (params: any) {
    return request('/api/project/addInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateInfo (params: any) {
    return request('/api/project/updateInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delInfo (params: any) {
    return request('/api/project/delInfo', {
    method: 'POST',
    data: params,
  });
}
export default { getInfoByPage, addInfo, updateInfo, delInfo }
